package com.hzvtc.bosswang.manageeducation.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzvtc.bosswang.manageeducation.domain.UserCourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCourseMapper {

    List<Long> selectStudentsByCourseId(Long id);
    Page<UserCourse> selectUserCourseList(Page<UserCourse> page, @Param("userCourse")UserCourse userCourse );
    UserCourse selectUserCourseById(Long id);
    Integer edit(UserCourse userCourse);

    Integer add(UserCourse userCourse);

    Integer delete(Long id);
}
